package belf.migrate.core.exception;

public enum CoreErrorCode implements BelfErrorCode {
    LOAD_CONF_ERROR("CORE-10", "加载配置文件出错"),
    LOAD_FIELD_MAPPING_ERROR("CORE-11", "加载字段映射文件出错");

    private final String code;
    private final String description;

    CoreErrorCode(String code, String description) {
        this.code = code;
        this.description = description;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDescription() {
        return description;
    }
}
